package com.hzbc.faceattendance.repository;

import com.hzbc.faceattendance.model.HaiKangDevice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HaiKangDeviceRepository extends JpaRepository<HaiKangDevice,Integer> {
    HaiKangDevice findByIp(String ip);
    List<HaiKangDevice> findByRemark(String remark);
}
